#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = '云絮'
import pymongo
from config import config
class mongo:
    def __init__(self):
        con=pymongo.MongoClient(config['db_address'],config['db_port'])
        self.db=con.sqlscan